//引入combineReducers来合并reducer
import {combineReducers} from 'redux';
import count from './count';
import user from './user';

//合并reducer,并暴露，combineReducers传入一个对象key:value的形式，
export default combineReducers({
  //自定义名称：reducer模块，因为名称一样，基于es6省略，下同
  count,
  user
})
